projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df06d3
)
GtkWidgetPath: Don't forget to copy the state
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 22 Jul 2014 00:35:59 +0000
(20:35 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 22 Jul 2014 00:35:59 +0000
(20:35 -0400)
gtk_widget_path_copy was not copying the state of each element.
This was showing in "GtkRadioButton:active GtkLabel" not matching
in stack switchers.
gtk/gtkwidgetpath.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidgetpath.c
b/gtk/gtkwidgetpath.c
index ba94a7fb2eeadb10501f6b2e6dfb91ca98021c7e..b33d23bd8b6749379ccbea753ccee9155c4e7be1 100644
(file)
--- a/
gtk/gtkwidgetpath.c
+++ b/
gtk/gtkwidgetpath.c
@@
-132,6
+132,7
@@
gtk_path_element_copy (GtkPathElement *dest,
dest->type = src->type;
dest->name = src->name;
+ dest->state = src->state;
if (src->siblings)
dest->siblings = gtk_widget_path_ref (src->siblings);
dest->sibling_index = src->sibling_index;